package com.example.dbmysql.mapper;
import com.example.dbmysql.pojo.RoomType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomTypeMapper {

    void add(RoomType roomType);

    RoomType findByTypeName(String typeName);


    List<RoomType> selectAll(int page, int pageSize);

    void PutUpdateById(RoomType roomType);

    RoomType geRoomTypeById(Integer id);

    void delRoomTypeByid(Integer id);
}
